from django.conf.urls import url

from . import views


# urlpatterns是被django自动识别的路由列表变量
urlpatterns = [
    # 每个路由信息都需要使用url函数来构造
    # 格式：url(路径, 视图)
    url(r'^index/$', views.index, name="index"),

    # 路由解析顺序测试
    url(r'^say/$', views.say),
    url(r'^say_hello/$', views.say_hello)
]


